|
This page last changed on Jun 01, 2011 by rich.
Stop tomcat 5.0
- in services, stop and then disable from starting Tomcat 5.0
Install java 1.6
-
- get jdk-6u23-windows-i586.exe from oracle (tempbox\rich) and put in c:\download or other temproary directory on anvil
- open cmd window, navaigate to and run the above .exe . ( optional: on the wizard that comes up, dont install database and src code)
- will create c:\Program Files\java\jre6 and c:\Program Files\jdk1.6.0_23
- Set environment variables:
JAVA_HOME C:\Program Files\Java\jdk1.6.0_23
JRE_HOME C:\Program Files\Java\jdk1.6.0_23 (for tomcat)
- Add to PATH: ;%JAVA_HOME%\bin
-
- open new cmd window and type java -version
- should respond java version 1.6.0_23 etc...
Install ant
- create dir C:\Program Files\Ant
- Copy apache-ant-1.8.2-bin.zip to above and unzip all
- creates apache-ant-1.8.2 sub directory
- Set environment variables:
ANT_HOME C:\Program Files\Ant\apache-ant-1.8.2
- Add to PATH: ;%ANT_HOME%\bin
- open new cmd window and type ant -version should respond ant version 1.8.2 etc..
Install tomcat
- Get from tempbox\rich\downloads: apache-tomcat-7.0.5.exe
- or ... download only the 32-bit/64-bit Windows Service Installer (it gets the Tomcat binarys) Actually the link downloads: apache-tomcat-7.0.5.exe
- Put it to some temp dir, open a dos cmd window,navigate to it and execute it
- Use default port 8080 (typhoon), or pick a different port e.g. 8085 for anvil) admin acct = "admin" and our password to be able to manage it remotely.
- NOTE Anvil is/was port 8085 because there is already an Apache server with 8080.
- Accd to M.McCann, IS has new standards... port 8443, firewall cfg, and ssl stuff to be configured here....
- Use services panel to stop old apache server, and start the apache7 service. Note:Had to do this twice...first time failed to start. Also doesnt like to stop cleanly....
- I was able to go to another machine and http://134.89.10.35:8085/ or http://anvil:8085
Also see:
see:http://tomcat.apache.org/download-70.cgi
see also:http://www.mulesoft.com/tomcat-windows\\
Install jTDS Drivers, jFreeChart and a bunch of other jar files:
These should all be available in tempbox\rich\downloads\justthejarsplease
jfreechart-1.0.13.jar (from tempbox/rich/downloads)
jcommon-1.0.16.jar
jFastCGI-2.0.jar
commons-logging-1.1.1.jar
commons-pool-1.5.5.jar
commons-collections-3.2.1.jar
commons-dbcp-1.4.jar
jtds-1.2.5.jar
Copy them all to C:\Program Files\Apache Software Foundation\Tomcat 7.0\lib
Or else get them from sourceforge etc like:
- via http://jtds.sourceforge.net/
- jtds-1.2.5-dist.zip copy to C:downloads/jtds
- extract to there
- move the jtds-1.2.5.jar to C:\Program Files\Tomcat 7.0\lib
- delete everything else including the zip
-
-
-
- modify C:\Program Files\Tomcat 7.0\conf\server.xml so bottom looks like:
<Context path="/rovctd" docBase="rovctd" reloadable="true" crossContext="true">
<Resource
driverClassName="net.sourceforge.jtds.jdbc.Driver"
factory="org.apache.commons.dbcp.BasicDataSourceFactory"
maxActive="10"
maxIdle="5"
maxWait="5000"
name="jdbc/ROVCTD"
password="password"
type="javax.sql.DataSource"
url="jdbc:jtds:sqlserver://SOLSTICE:1433/Expd"
username="expddba"
removeAbandoned="true"
removeAbandonedTimeout="60"
logAbandoned="true"/>
</Context>
</Host>
</Engine>
</Service>
</Server>
Install jFreeChart and a bunch of other jar files:
jfreechart-1.0.13.jar (from tempbox/rich/downloads)
jcommon-1.0.16.jar
jFastCGI-2.0.jar
commons-logging-1.1.1.jar
commons-pool-1.5.5.jar
commons-collections-3.2.1.jar
commons-dbcp-1.4.jar
jtds-1.2.5.jar
Install the webapps
- rovctd
- grab rovctd folder from tempbox\rich\downloads put in C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps
- jitensha-rougu (Brian Schlining's...) ANVIL ONLY, NOT TYPHOON?
- copy Tomcat 5.5\webapps\jitensha-rogu.war to Tomcat 7.0\webapps
- restart tomcat service (should create cause tomcat to create webapps\jitensh-rogu folder and sub-folders)
- any other webapps...besides defaults? (manager and ROOT)
|